package com.test.tshs02;

/**
 * @author RenGaoshuai
 * @date 2024/2/1 16:52
 * @description
 */
public class mains {
//
//    public static void main(String[] args) {
////        Cat cat = new Cat();
////        cat.setName("猫猫");
////        cat.setAge(5);
////
////
////        Dog dog = new Dog();
////        dog.setName("狗狗");
////        dog.setAge(6);
////
////
////        eee(cat);
////        eee(dog);
//
//        String orgFile = "https://vipdevtest.oss-cn-beijing.aliyuncs.com/purchaseBook/2023-03-29/51abdc7b412345da9e20a1b676d776e6_21ebe1f473a248adbfde5173c3136511.pdf";
//        String[] split = orgFile.split(".com/");
//
//
//        Pattern pattern = Pattern.compile("^(https?://[^/]+)(.*)$");
//        Pattern pattern1 = Pattern.compile("^(https?://[^/]+)(/?[^/].*)$");
//        Matcher matcher = pattern1.matcher(orgFile);
//        if (matcher.find()) {
//            String group1 = matcher.group(1);
//            System.out.println(group1);
//            String group2 = matcher.group(2);
//            System.out.println(group2);
//
//        }
//
////        System.out.println(split);
//
//    }
//
//    public static void eee(A1 a){
//        String string = a.toString();
//        System.out.println(string);
//    }


    public static void main(String[] args) {
        int a = 1;
        int b = 2;
        if (a == 1){
            System.out.println(1);
        }
        else if (b == 2){
            System.out.println(2);
        }else{
            System.out.println(3);
        }
    }
}
